-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force WG handshake each time the config is updated #7348
Conversation
05176d5
to
f30ecf4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dlon)
talpid-wireguard/src/connectivity/mod.rs
line 9 at r1 (raw file):
mod pinger; pub use check::Cancellable;
⛏️ Technically this should be gated on android
or force_wireguard_handshake
? 🫠
Code quote:
pub use check::Cancellable;
91f3505
to
c40765c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @dlon)
talpid-wireguard/src/ephemeral.rs
line 122 at r2 (raw file):
) -> Result<(), CloseMsg> { #[cfg(force_wireguard_handshake)] let _ = establish_tunnel_connection(tunnel, connectivity).await;
Would be nice with an explicit comment about why the return value is discarded. Obviously we care about the side effect of calling establish_tunnel_connection
only.
Code quote:
#[cfg(force_wireguard_handshake)]
let _ = establish_tunnel_connection(tunnel, connectivity).await;
c40765c
to
aad3d12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 3 of 6 files reviewed, 1 unresolved discussion (waiting on @MarkusPettersson98)
talpid-wireguard/src/ephemeral.rs
line 122 at r2 (raw file):
Previously, MarkusPettersson98 (Markus Pettersson) wrote…
Would be nice with an explicit comment about why the return value is discarded. Obviously we care about the side effect of calling
establish_tunnel_connection
only.
Done.
talpid-wireguard/src/connectivity/mod.rs
line 9 at r1 (raw file):
Previously, MarkusPettersson98 (Markus Pettersson) wrote…
⛏️ Technically this should be gated on
android
orforce_wireguard_handshake
? 🫠
(Merged them as suggested.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
aad3d12
to
0fd4386
Compare
0fd4386
to
613c466
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r4, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
613c466
to
86414a5
Compare
Fix DES-1563
This change is